package pers.zh.parking.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import pers.zh.parking.di.module.LotDetailModule;
import pers.zh.parking.mvp.contract.LotDetailContract;

import com.jess.arms.di.scope.ActivityScope;

import pers.zh.parking.mvp.ui.activity.LotDetailActivity;

@ActivityScope
@Component(modules = LotDetailModule.class, dependencies = AppComponent.class)
public interface LotDetailComponent {

    void inject(LotDetailActivity activity);

    @Component.Builder
    interface Builder {

        @BindsInstance
        LotDetailComponent.Builder view(LotDetailContract.View view);

        LotDetailComponent.Builder appComponent(AppComponent appComponent);

        LotDetailComponent build();
    }
}